package com.ruoyi.performancecomparisons.mapper;

import java.util.List;
import com.ruoyi.performancecomparisons.domain.Series;

/**
 * seriesMapper接口
 * 
 * @author yxy
 * @date 2024-11-07
 */
public interface SeriesMapper 
{
    /**
     * 查询series
     * 
     * @param id series主键
     * @return series
     */
    public Series selectSeriesById(Long id);

    /**
     * 查询series列表
     * 
     * @param series series
     * @return series集合
     */
    public List<Series> selectSeriesList(Series series);

    /**
     * 新增series
     * 
     * @param series series
     * @return 结果
     */
    public int insertSeries(Series series);

    /**
     * 修改series
     * 
     * @param series series
     * @return 结果
     */
    public int updateSeries(Series series);

    /**
     * 删除series
     * 
     * @param id series主键
     * @return 结果
     */
    public int deleteSeriesById(Long id);

    /**
     * 批量删除series
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSeriesByIds(Long[] ids);

    /**
     * 根据optionn查询series列表
     */
    List<Series> selectSeriesByoption(String optionn);
}
